#ifndef ABSTRACTPRESENTER_H_
#define ABSTRACTPRESENTER_H_

template <class TView>
class AbstractPresenter
{
protected:
	explicit AbstractPresenter(TView *view)
	{
		this->view = view;
	}

	virtual ~AbstractPresenter() { }

	TView * getView() const
	{
		return view;
	}

private:
	TView *view;
};

#endif /* ABSTRACTPRESENTER_H_ */
